export interface CreateParams {
  parentId: string
  menuType: number
  menuName: string
  icon?: string
  path?: string
  component?: string
  orderBy?: number
  menuState: number
}

export interface MenuItem extends CreateParams {
  createTime: Date
  _id: string
  children?: MenuItem[]
  buttons?: MenuItem[]
}

export interface Params {
  menuName?: string
  menuState: number
}
export interface EditParams extends CreateParams {
  _id: string
}

export interface DelParams {
  _id: string
}
